package com.zy.web.demo.duoxiancheng.demo17;

/**
 * @author <a href="mailto:zhouyong@cqyyt.com">zy</a>
 * @version 1.0
 * @date 2020/8/18 16:40
 */
public class ThreadA17 extends Thread{

    private Object lock;

    public ThreadA17(Object lock){
        this.lock = lock;
    }

    @Override
    public void run() {
        Service17 service = new Service17();
        service.method(lock);
    }
}
